package com.example.crm_system.service;

import com.example.crm_system.entity.Customer;
import com.example.crm_system.entity.Params;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CustomerService {
    void insert(Customer customer);

    void update(Customer customer);

    void delete(Integer cno);

    List<Customer> selectAll();

    List<Customer> selectByCno(Integer cno);

    PageInfo<Customer> searchCustomer(Params params);

    List<Customer> findAll();
}
